package com.xiaoshuidi.cloud.module.bpm.controller.admin.swo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class SwoAssignmentReqVO {
    @Schema(description = "服务工单id")
    @NotNull(message = "服务工单id不能为空")
    private Long swoTicketId;

    @Schema(description = "被指派人的id")
    @NotNull(message = "被指派人的id不能为空")
    private Long assigneeUserId;

    @Schema(description = "被指派人的name")
    @NotNull(message = "被指派人的name不能为空")
    private String assigneeUserName;

    @Schema(description = "备注")
    @Size(max = 200, message = "备注不能超过200字~")
    private String remark;

    @Schema(description = "租客姓名")
    private String customerName;

    @Schema(description = "责任方：1：租客；2：第三方；3：公司")
    private Integer responsibleParty;

    @Schema(description = "附件")
    private String attachments;

    @Schema(description = "要求完工时间")
    private LocalDateTime requiredCompletionTime;
}
